﻿@model IEnumerable<SoftHotel.Models.Proveedor>

@{
    ViewBag.Title = "Detalle";
}

@using (Html.BeginForm())
{ 
<h1>
            <strong>Detalle Proveedor</strong></h1>
    <table id="MainContent_Table3" rules="all" style="background-color: #BDBDBD; width: 900px; margin-bottom: 0px;" border="0">
	<tbody><tr>
           <td> 
		   <input type="submit" name="button" value="Editar" />
		   <input type="submit" name="button" value="Vincular Productos" />
           <input type="submit" name="button" value="Consultar Productos Vinculados" />
           <input type="submit" name="button" value="Regresar" />
            </td>
        	</tr>
</tbody></table>
    <table id="MainContent_Table1" rules="all" style="border-color: Black; width: 900px; margin-bottom: 0px;" border="1">
	<tbody><tr>
		<td style="font-weight: bold; width: 110px;">Razon Social </td>

		<td style="width: 450px;">@Html.DisplayFor(modelItem => Model.First().razonSocial)</td> 

		<td style="font-weight: bold; width: 140px;">Fecha de Registro</td>
		<td style="width: 200px;">@Html.DisplayFor(modelItem => Model.First().fechaRegistro) </td>
	</tr><tr>
		<td style="font-weight: bold; width: 110px;"> RUC </td>
		<td style="width: 450px;"> @Html.DisplayFor(modelItem => Model.First().ruc)</td>
		<td style="font-weight: bold; width: 140px;">Representante</td>
		<td style="width: 200px;">@Html.DisplayFor(modelItem => Model.First().representante) </td>
	</tr><tr>
		<td style="font-weight: bold;width: 110px;"> Direccion </td>
		<td style="width: 450px;"> @Html.DisplayFor(modelItem => Model.First().direccion)</td>
		<td style="font-weight: bold; width: 140px;">Dni Representante</td>
		<td style="width: 200px;">@Html.DisplayFor(modelItem => Model.First().dniRepresentante) </td>
	</tr><tr>
		<td style="font-weight: bold;width: 110px;">E-mail</td>
		<td style="width: 450px;">@Html.DisplayFor(modelItem => Model.First().email)</td>
		<td style="font-weight: bold; width: 140px;">Celular</td>	
		<td style="width: 200px;">@Html.DisplayFor(modelItem => Model.First().movil) </td>	
	</tr><tr>
		<td style="font-weight: bold;width: 110px;">Telefono</td>
		<td style="width: 450px;">@Html.DisplayFor(modelItem => Model.First().telefono)</td>
		<td style="font-weight: bold; width: 140px;">Estado</td>	
		<td style="width: 200px;">@Html.DisplayFor(modelItem => Model.First().objEstado.valor) </td>	
	</tr>
</tbody></table>
}